/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dusin.weijiwufang.service;

import java.util.List;
import org.dusin.weijiwufang.bo.VisitorBean;

/**
 *
 * @author Admin
 */
public interface VisitorService {

    public VisitorBean login(String loginName, String password);

    public List<VisitorBean> findAll();
    
    public boolean addVisitor(VisitorBean visitor);
    public boolean updateVisitor(VisitorBean visitor);
    public boolean deleteVisitor(long id);
    
}
